This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
This code runs sort of OK the first time in Designer and
the Java console output looks like this:
= = = Start of listing = = =
Catalog: OurIseriesName
Is closed? false
Error cleaning up agent threads
= = = End of listing = = =
Note the error message "Error cleaning up agent threads".
When I run the agent again, I get this error in the Java console:
= = = Start of listing = = =
java.lang.OutOfMemoryError
= = = End of listing = = =
And in the Agent completion message in Designer:
= = = Start of listing = = =
Started running agent 'test2' on 01/12/2009 13:29:15
ERROR: JVM: Attempt to retrieve Java agent attachments failed.
Ran Java Agent Class
Done running agent 'test2' on 01/12/2009 13:29:22
= = = End of listing = = =
I've scanned the usual places for information, but have found only vague references to multiple threads being created. Has anyone else seen this problem? I've extended the code to actually pull back data from the iSeries and this works OK the first time round, retrieving rows correctly. It seems that the first time this runs, something is not terminated correctly in the JVM.
This works fine in Eclipse using the same core code.
Feedback number WEBB7YBHVZ created by ~Kelly Ekfookony on 12/01/2009
Status: Open
Comments: